package com.easy.mapper;

import com.easy.bean.AdoptBean;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdoptBeanDao {
    int add(@Param("param") AdoptBean adoptBean);
    int del(@Param("id") Integer id);
    int edit(@Param("param") AdoptBean adoptBean);
    AdoptBean one(@Param("id")Integer id);
    List<AdoptBean> all(@Param("param") AdoptBean adoptBean);
    int pageCount(@Param("param") AdoptBean adoptBean);
    List<AdoptBean> page(@Param("page") Page page, @Param("param") AdoptBean adoptBean);
}








































